// source --> http://211.104.35.193:81/conpo/wp-content/plugins/bbs-e-popup/js/bbse-popup-common.js?ver=5.1.6 jQuery(document).ready(function(){ //오늘 하루 보지 않기 jQuery('input[name=bbse_popup_nomore]').change(function(){ var $name = jQuery(this).val(); var check = CookieForBbsePopup.get ($name); var type = jQuery(this).data('type'); var pIdx = jQuery(this).data('pidx'); switch(type){ case 'Today' : { if ( check != 'Today' || !check ){ CookieForBbsePopup.set ($name , 'Today' , { expires_day : 1, }); jQuery('#btn-popup-' + pIdx).click(); } } case 'Minute' : { if ( check != 'Minute' || !check ){ CookieForBbsePopup.set ($name , 'Minute' , { expires_minute : 30, }); jQuery('#btn-popup-' + pIdx).click(); } } } }); jQuery(window).resize(function(){ var $screen = jQuery(window).width(); if ($screen < 1023){ jQuery(".bbse-layer-popup").fadeOut(); jQuery(".bbse-layer-popup").html(""); } }); /*event*/ jQuery(".bannerBtn").mouseover(function() { var no=jQuery(this).data("no"); for(j=1;j<7;j++){ jQuery("#banner"+j).css("display","none"); } jQuery("#banner"+no).css("display","block"); jQuery(".bannerBtn").css("background", "#acacac"); jQuery(this).css("background", "#ff7659"); }); /*event*/ /*v2.1.5 : photo*/ var photoN = 1; var $photoSlider_w = jQuery('#photoPopup-slide li').outerWidth(); var $photoSlider = jQuery('#photoPopup-slide ul'); var $photoPopup_w =$photoSlider.outerWidth(); jQuery('#photoPopup-slide li:first').clone().appendTo(jQuery('#photoPopup-slide ul')); jQuery('#phptoBreadcrumb li:first').children('.Popup-hover').css('display','block'); jQuery('#phptoBreadcrumb li:first').addClass('show'); jQuery('#PhotoBtn-next').click(function(){ photoN+=1 ; if(photoN==4){ $photoSlider.css('left',0); photoN=2; }; $photoSlider.stop().animate({'left':(photoN-1)*-$photoSlider_w}); jQuery('#phptoBreadcrumb li').children('.Popup-hover').css('display','none'); jQuery('#popup-btn'+photoN).children('.Popup-hover').css('display','block'); if(photoN==3){ jQuery('#popup-btn1').children('.Popup-hover').css('display','block'); }; }); jQuery('#PhotoBtn-prev').click(function(){ photoN-=1 ; if(photoN==0){ $photoSlider.css('left',-$photoPopup_w + $photoSlider_w); photoN=2 }; $photoSlider.stop().animate({'left':(photoN-1)*-$photoSlider_w}); jQuery('#phptoBreadcrumb li').children('.Popup-hover').css('display','none'); jQuery('#popup-btn'+photoN).children('.Popup-hover').css('display','block'); }); jQuery('#phptoBreadcrumb li').click(function(){ photoN=parseInt(jQuery(this).attr('data-now')); $photoSlider.animate({'left':(photoN-1)*-$photoSlider_w}); jQuery('#phptoBreadcrumb li').children('.Popup-hover').css('display','none'); jQuery('#phptoBreadcrumb li').removeClass('show'); jQuery(this).addClass('show'); jQuery(this).children('.Popup-hover').css('display','block'); }); jQuery('#phptoBreadcrumb li').hover(function(){ jQuery(this).children('.Popup-hover').css('display','block'); },function(){ if(jQuery(this).hasClass('show')){ jQuery(this).children('.Popup-hover').css('display','block'); }else{ jQuery(this).children('.Popup-hover').css('display','none'); } }); /*v2.1.5 : photo*/ }); var CookieForBbsePopup ={ cookie_arr : null, set : function (name,value,options){ options = options || {}; this.cookie_arr = [escape(name) + '=' + escape(value)]; //-- expires if (options.expires){ if( typeof options.expires === 'object' && options.expires instanceof Date ){ var date = options.expires; var expires = "expires=" + date.toUTCString(); this.cookie_arr.push (expires); } } else if (options.expires_day) this.set_expires_date (options.expires_day , 24*60*60); else if (options.expires_hour) this.set_expires_date (options.expires_hour , 60*60); else if (options.expires_minute) this.set_expires_date (options.expires_minute , 60); //-- domain if (options.domain){ var domain = "domain=" + options.domain; this.cookie_arr.push (domain); } //-- path if (options.path){ var path = 'path=' + options.path; this.cookie_arr.push (path); } //-- secure if( options.secure === true ){ var secure = 'secure'; this.cookie_arr.push (secure); } document.cookie = this.cookie_arr.join('; '); }, get : function (name){ var nameEQ = escape(name) + "="; var ca = document.cookie.split(';'); for(var i=0;i < ca.length;i++){ var c = ca[i]; while (c.charAt(0)==' ') c = c.substring(1,c.length); if (c.indexOf(nameEQ) == 0) return unescape(c.substring(nameEQ.length,c.length)); } return null; }, del : function (name , options){ options = options || {}; options.expires_day = -1; this.set ( name , '' , options ); }, set_expires_date : function (expires , time){ var date = new Date(); date.setTime(date.getTime()+(expires*time*1000)); var expires = "expires=" + date.toUTCString(); this.cookie_arr.push (expires); } }; var popup_view=function(pIdx,pAlign,inEffe,outEffe,pSize){ var WindowInnerWidth=jQuery(window).innerWidth(); if(WindowInnerWidth http://211.104.35.193:81/conpo/wp-content/plugins/mangboard/plugins/datepicker/js/datepicker.js?ver=1.7.7 jQuery(function($){ if($.datepicker && $.datepicker.regional){ $.datepicker.regional["ko"] = { closeText: "닫기", prevText: "이전달", nextText: "다음달", currentText: "오늘", monthNames: ["1월(JAN)","2월(FEB)","3월(MAR)","4월(APR)","5월(MAY)","6월(JUN)", "7월(JUL)","8월(AUG)","9월(SEP)","10월(OCT)","11월(NOV)","12월(DEC)"], monthNamesShort: ["1월","2월","3월","4월","5월","6월", "7월","8월","9월","10월","11월","12월"], dayNames: ["일","월","화","수","목","금","토"], dayNamesShort: ["일","월","화","수","목","금","토"], dayNamesMin: ["일","월","화","수","목","금","토"], weekHeader: "Week", dateFormat: "yymmdd", firstDay: 0, isRTL: false, showMonthAfterYear: true, yearSuffix: "" }; $.datepicker.setDefaults($.datepicker.regional["ko"]); } }); jQuery(document).ready(function() { if(jQuery(".show-datepicker").datepicker) jQuery(".show-datepicker").datepicker({ changeMonth: true, changeYear: true, dateFormat: "yy-mm-dd", showButtonPanel: true, yearRange: "c-100:c+10"}); }); // source --> http://211.104.35.193:81/conpo/wp-content/plugins/mangboard/plugins/popup/js/main.js?ver=1.7.7 jQuery( document ).ready(function() { //팝업 태그를 body에 추가 var popup_html = ""; popup_html = popup_html+'
'; popup_html = popup_html+'
'; popup_html = popup_html+'
'; popup_html = popup_html+'
'; popup_html = popup_html+'
'; popup_html = popup_html+'
'; popup_html = popup_html+'
'; popup_html = popup_html+'
'; popup_html = popup_html+'
'; popup_html = popup_html+'
'; popup_html = popup_html+'
'; popup_html = popup_html+'
'; popup_html = popup_html+'
'; popup_html = popup_html+'
'; popup_html = popup_html+'
'; popup_html = popup_html+'
'; popup_html = popup_html+'
'; popup_html = popup_html+'
'; popup_html = popup_html+'
'; popup_html = popup_html+'
'; popup_html = popup_html+'
'; jQuery("body").append(popup_html); }); var confirmCallbackSend; var confirmCallbackCancel; var alertCallbackSend; var popupCallbackData; var select_menu = ""; var eventX = 0; var eventY = 0; var scrollMode = true; function setPopupScrollEvent(){ jQuery(window).on({ 'mousewheel': function(e){ if(scrollMode) setPopupPosition("scroll"); },'scroll': function(e){ if(scrollMode) setPopupPosition("scroll"); } }) } function setPopupPosition(mode){ if(typeof(mode)!=='undefined' && mode=="scroll" && jQuery("#mb_pop_bg").css('display')=='none') return; var popupObj = jQuery("#mb_pop_confirm"); popupObj.css('left',(jQuery(window).width()-popupObj.outerWidth())/2); popupObj.css('top',(jQuery(document).scrollTop()+(jQuery(window).height()-popupObj.outerHeight())/2)-20); popupObj = jQuery("#mb_pop_alert"); popupObj.css('left',(jQuery(window).width()-popupObj.outerWidth())/2); popupObj.css('top',(jQuery(document).scrollTop()+(jQuery(window).height()-popupObj.outerHeight())/2)-20); popupObj = jQuery("#mb_pop_info"); popupObj.css('left',(jQuery(window).width()-popupObj.outerWidth())/2); popupObj.css('top',(jQuery(document).scrollTop()+(jQuery(window).height()-popupObj.outerHeight())/2)); popupObj = jQuery("#mb_pop_html"); if(popupObj.height()>=jQuery(window).height() || popupObj.outerWidth()>=jQuery(window).width()){ popupObj.css('position','fixed'); popupObj.css('height',"100%"); popupObj.css('top',0); popupObj.css('left',0); scrollMode = false; jQuery('body').css('overflow-y','hidden'); }else{ popupObj.css('position','absolute'); popupObj.css('top',(jQuery(document).scrollTop()+(jQuery(window).height()-popupObj.outerHeight())/2)); popupObj.css('left',(jQuery(window).width()-popupObj.outerWidth())/2); } } setPopupScrollEvent(); function showConfirmPopup(message,data,send,cancel) { popupCallbackData = data; confirmCallbackSend = send; if(typeof(cancel)==='undefined') confirmCallbackCancel = hidePopupBox; else confirmCallbackCancel = cancel; //위치 설정 var pop_head = ''; var pop_body = ''; if(typeof(data)!=='undefined' && typeof(data.type)!=='undefined' && data.type=="passwd"){ pop_head = '
'+message+'
'; pop_body = pop_body+'
'; pop_body = pop_body+'
'; pop_body = pop_body+'
'; }else{ pop_head = '

Message

'+message+'

'; } pop_body = pop_body+'
'; pop_body = pop_body+''+mb_languages["btn_cancel"]+''; pop_body = pop_body+''+mb_languages["btn_ok"]+''; pop_body = pop_body+'
'; if(typeof(data)!=='undefined'){ if(typeof(data.head)!=='undefined') pop_head = data.head; if(typeof(data.body)!=='undefined') pop_body = data.body; } showPopupBox("Confirm",pop_head,pop_body); } function showAlertPopup(response,send){ if(!response || typeof(response)==='undefined') return; var code = ""; var message = ""; var target_name = ""; if(typeof(send)==='undefined') alertCallbackSend = null; else alertCallbackSend = send; if(typeof(response.code)!=='undefined') code = response.code; if(typeof(response.message)!=='undefined') message = response.message; if(typeof(response.target_name)!=='undefined') target_name = response.target_name; if(message=="") return; var pop_head = '

Message

'+message+'

'; var pop_body = ''; pop_body = pop_body+'
'; pop_body = pop_body+''+mb_languages["btn_ok"]+''; pop_body = pop_body+'
'; showPopupBox("Alert",pop_head,pop_body); } function showPopupBox(type,head,body,data){ scrollMode = true; initLoadingBox(); var popupID = "#mb_pop_confirm"; if(type=="Alert"){ popupID = "#mb_pop_alert"; if(jQuery("#mb_pop_bg").css('display')=='none') jQuery("#mb_pop_confirm").hide(); setTimeout(function(){ jQuery(popupID).addClass("mb-ani-pop-open"); }, 1); }else if(type=="Info"){ popupID = "#mb_pop_info"; }else if(type=="Confirm"){ popupID = "#mb_pop_confirm"; setTimeout(function(){ jQuery(popupID).addClass("mb-ani-pop-open"); }, 1); }else if(type=="Html"){ popupID = "#mb_pop_html"; }else{ popupID = "#mb_pop_alert"; setTimeout(function(){ jQuery(popupID).addClass("mb-ani-pop-open"); }, 1); } if(typeof(data)==='undefined') data = {}; if(typeof(data.position)==='undefined') data.position = "center"; if(typeof(data.bg)==='undefined') data.bg = true; if(typeof(data.eventX)==='undefined') data.eventX = 0; if(typeof(data.eventY)==='undefined') data.eventY = 0; jQuery(popupID+"_head").html(head); jQuery(popupID+"_body").html(body); var adminbarHeight = jQuery("#wpadminbar").height(); if(adminbarHeight==null || typeof(adminbarHeight)==='undefined') adminbarHeight = 0; if(data.position=="click"){ jQuery(popupID).css("top",parseInt((data.eventY+jQuery(document).scrollTop()-adminbarHeight)/10)*10-7); jQuery(popupID).css("left",parseInt(data.eventX/10)*10+30); }else{ setPopupPosition(); } if(data.bg) showPopupBG(); jQuery(popupID).show(); if(type=="Alert"){ jQuery("#mb_pop_alert_ok").focus(); }else if(type=="Confirm"){ jQuery("#mb_confirm_passwd").focus(); } } function initLoadingBox(){ jQuery("#mb_pop_html_head").html(""); jQuery("#mb_pop_html_body").html(""); } function showLoadingBox(){ showPopupBox("Html",'','
Loading
'); } function hideLoadingBox(){ initLoadingBox(); if(jQuery("#mb_pop_alert").css('display')=='none' && jQuery("#mb_pop_confirm").css('display')=='none'){ jQuery("#mb_pop_bg").hide(); } } function showPopupBG(){ hideInfoBox(); jQuery('#mb_pop_bg').height(jQuery(document).height()); jQuery("#mb_pop_bg").show(); } function getUserMenu(uid,pid){ var menu_options = "*"; if(select_menu==uid+"_"+pid){ select_menu = ""; hideInfoBox(); }else{ sendUserMenu(uid,pid,menu_options,event); select_menu = uid+"_"+pid; } } function showUserMenu(data){ var menu_head = data["head"]; var menu_body = ""; var menu_foot = data["foot"]; menu_head = menu_head+'
'+data["user"]["name"]+'
'; menu_body = ''; showPopupBox("Info","",('
'+menu_head+menu_body+menu_foot+"
"),{"position":"click","bg":false,"eventX":eventX,"eventY":eventY}); } } function sendUserMenu(uid,board_pid,option,event){ if(typeof(event)!=='undefined'){ eventX = event.clientX; eventY = event.clientY; } if(option=="*") option = "search,info,email,homepage,blog"; var param = "board_name="+mb_options["board_name"]+"&option="+option+"&list_type="+mb_options["list_type"]+"&page="+mb_options["page"]; if(jQuery('#'+mb_options["board_name"]+'_form_board_search')) param += "&"+jQuery('#'+mb_options["board_name"]+'_form_board_search').serialize(); param += "&mode=user&board_action=menu"+"&pid="+uid+"&board_pid="+board_pid; sendDataRequest(mb_urls["template_api"], param, sendUserMenuHandler); } function sendUserMenuHandler(response, state){ if(response.state == "success"){ showUserMenu(response.data); }else{ showAlertPopup(response); } } function hideInfoBox() { jQuery("#mb_pop_info").hide(); } function hidePopupBox() { confirmCallbackSend = null; jQuery(".input-focus").removeClass("input-focus"); jQuery("#mb_pop_info").hide(); jQuery("#mb_pop_html").hide(); jQuery("#mb_pop_confirm").hide(); jQuery("#mb_pop_confirm").removeClass("mb-ani-pop-open"); jQuery("#mb_pop_alert").removeClass("mb-ani-pop-open"); jQuery("#mb_pop_bg").hide(); if(!scrollMode){ jQuery('body').css('overflow-y','auto'); scrollMode = true; } } function showAlertCallback(code,target_name) { hidePopupAlert(code,target_name); sendAlertCallbackData(); } function hidePopupAlert(code,target_name) { if(typeof(code)!=='undefined' && code!=='undefined'){ if(confirmCallbackSend) jQuery("#mb_pop_confirm").show(); if(code.substr(0,2)=="12"){ //입력 관련 에러일 경우 포커스 설정 var target; if(jQuery("#mb_pop_confirm").css('display')!='none'){ if(target_name!="") target = jQuery("#mb_confirm_form").find("input[name="+target_name+"]"); }else{ target = document.getElementsByName(target_name); } jQuery(".input-focus").removeClass("input-focus"); if(typeof(target)!=='undefined'){ jQuery(target).addClass("input-focus"); jQuery(target).focus(); } } }else{ jQuery(".input-focus").focus(); } jQuery("#mb_pop_alert").hide(); jQuery("#mb_pop_alert").removeClass("mb-ani-pop-open"); jQuery("#mb_pop_html").hide(); jQuery("#mb_pop_info").hide(); if(jQuery("#mb_pop_confirm").css('display')=='none'){ jQuery("#mb_pop_bg").hide(); initLoadingBox(); } if(!scrollMode){ jQuery('body').css('overflow-y','auto'); scrollMode = true; } } function sendAlertCallbackData() { if(alertCallbackSend) alertCallbackSend(); else alertCallbackSend = null; } function sendConfirmCallbackData() { showLoadingBox(); jQuery("#mb_pop_confirm").hide(); if(confirmCallbackSend) confirmCallbackSend(popupCallbackData); else confirmCallbackSend = null; } function cancelConfirmCallbackData() { confirmCallbackSend = null; if(confirmCallbackCancel) confirmCallbackCancel(); else confirmCallbackCancel = null; }; // source --> http://211.104.35.193:81/conpo/wp-content/plugins/sticky-popup/js/modernizr.custom.js?ver=1.2 /* Modernizr 2.8.3 (Custom Build) | MIT & BSD * Build: http://modernizr.com/download/#-cssanimations-shiv-cssclasses-testprop-testallprops-domprefixes-load */ ;window.Modernizr=function(a,b,c){function x(a){j.cssText=a}function y(a,b){return x(prefixes.join(a+";")+(b||""))}function z(a,b){return typeof a===b}function A(a,b){return!!~(""+a).indexOf(b)}function B(a,b){for(var d in a){var e=a[d];if(!A(e,"-")&&j[e]!==c)return b=="pfx"?e:!0}return!1}function C(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:z(f,"function")?f.bind(d||b):f}return!1}function D(a,b,c){var d=a.charAt(0).toUpperCase()+a.slice(1),e=(a+" "+n.join(d+" ")+d).split(" ");return z(b,"string")||z(b,"undefined")?B(e,b):(e=(a+" "+o.join(d+" ")+d).split(" "),C(e,b,c))}var d="2.8.3",e={},f=!0,g=b.documentElement,h="modernizr",i=b.createElement(h),j=i.style,k,l={}.toString,m="Webkit Moz O ms",n=m.split(" "),o=m.toLowerCase().split(" "),p={},q={},r={},s=[],t=s.slice,u,v={}.hasOwnProperty,w;!z(v,"undefined")&&!z(v.call,"undefined")?w=function(a,b){return v.call(a,b)}:w=function(a,b){return b in a&&z(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=t.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(t.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(t.call(arguments)))};return e}),p.cssanimations=function(){return D("animationName")};for(var E in p)w(p,E)&&(u=E.toLowerCase(),e[u]=p[E](),s.push((e[u]?"":"no-")+u));return e.addTest=function(a,b){if(typeof a=="object")for(var d in a)w(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,typeof f!="undefined"&&f&&(g.className+=" "+(b?"":"no-")+a),e[a]=b}return e},x(""),i=k=null,function(a,b){function l(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x",d.insertBefore(c.lastChild,d.firstChild)}function m(){var a=s.elements;return typeof a=="string"?a.split(" "):a}function n(a){var b=j[a[h]];return b||(b={},i++,a[h]=i,j[i]=b),b}function o(a,c,d){c||(c=b);if(k)return c.createElement(a);d||(d=n(c));var g;return d.cache[a]?g=d.cache[a].cloneNode():f.test(a)?g=(d.cache[a]=d.createElem(a)).cloneNode():g=d.createElem(a),g.canHaveChildren&&!e.test(a)&&!g.tagUrn?d.frag.appendChild(g):g}function p(a,c){a||(a=b);if(k)return a.createDocumentFragment();c=c||n(a);var d=c.frag.cloneNode(),e=0,f=m(),g=f.length;for(;e",g="hidden"in a,k=a.childNodes.length==1||function(){b.createElement("a");var a=b.createDocumentFragment();return typeof a.cloneNode=="undefined"||typeof a.createDocumentFragment=="undefined"||typeof a.createElement=="undefined"}()}catch(c){g=!0,k=!0}})();var s={elements:d.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:c,shivCSS:d.shivCSS!==!1,supportsUnknownElements:k,shivMethods:d.shivMethods!==!1,type:"default",shivDocument:r,createElement:o,createDocumentFragment:p};a.html5=s,r(b)}(this,b),e._version=d,e._domPrefixes=o,e._cssomPrefixes=n,e.testProp=function(a){return B([a])},e.testAllProps=D,g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(f?" js "+s.join(" "):""),e}(this,this.document),function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f